@mixin shake($duration: $global-duration, $function: $global-function, $delay: $global-delay, $count: $global-count, $fill: $global-fill, $visibility: $global-visibility) {
	@include animation(shake $duration $function $delay $count $fill);
	@include visibility($visibility);

	@at-root {
		@include keyframes(shake) {
			0%, 100% {
				@include transform(translateX(0));
			}
			10%, 30%, 50%, 70%, 90% {
				@include transform(translateX(-6px));
			}
			20%, 40%, 60%, 80% {
				@include transform(translateX(6px));
			}
		}
	}
}